SDK/J Authentication Package ver1.0
RICOH Confidential

jp.co.ricoh.dsdk.scard.framework.service
Class CardService

java.lang.Object
  extended byjp.co.ricoh.dsdk.scard.framework.service.CardService
Direct Known Subclasses:
AppletServiceImpl

public abstract class CardService
extends java.lang.Object

This is a superclass of all the card services.


Field Summary
protected  Card card
           A card linked to the CardServiceFactory.
 
Constructor Summary
CardService()
           
 
Method Summary
protected  void finalize()
           
 Card getCard()
           Obtains the card.
 void initialize(Card card)
           Initializes a card service.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

card

protected Card card
A card linked to the CardServiceFactory.

Constructor Detail

CardService

public CardService()
Method Detail

initialize

public void initialize(Card card)
                throws UnsupportedCardException,
                       CardServiceException
Initializes a card service. This method is first called after the CardServiceFactory is instantiated by the Framework. If an unsupported card object is passed, UnSupportedCardException must be thrown.

Parameters:
card - a card linked to this card service.
Throws:
UnsupportedCardException - when the card service does not support the card.
CardServiceException - when an error has occurred in the initialization of the card service.

getCard

public final Card getCard()
Obtains the card.

Returns:
th card

finalize

protected void finalize()
                 throws java.lang.Throwable
Throws:
java.lang.Throwable

SDK/J Authentication Package ver1.0
RICOH Confidential